<th:block th:fragment="frag(list)">
	<th:block th:with="pageData=${list.listData},meta=${list.app.object.data.get('meta')}">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true">
	  <i class="fa fa-envelope-o"></i>
	  <span class="label label-success" th:text="${pageData.results}"></span>
	</a>
	<ul class="dropdown-menu" style="width:300px">
       <li class="header">您有<span th:text="${pageData.results}"/>个<span th:text="${list.app.object.name}"/></li>
       <li>
         <!-- inner menu: contains the actual data -->
         <ul class="menu">
           <th:block th:each="row : ${pageData.rows}">
           <!-- start message -->
           <li th:data-app-row="${list.getListRowJson(rowStat.index)}" th:data-app-pk="${list.properties.get(0).id}">
             <a>
               <div class="pull-left">
                 <img th:src="@{${list.getListValue(rowStat.index, list.properties.get(1).id)}}" class="img-circle" 
                   th:alt="${list.getListValue(rowStat.index, list.properties.get(2).id)}">
               </div>
               <h4>
                 <span th:text="${list.getListValue(rowStat.index, list.properties.get(3).id)}"></span>
                 <small><i class="fa fa-clock-o"></i> <span th:text="${#dates.format(list.getListValue(rowStat.index, list.properties.get(4).id), 'MM-dd HH:mm')}"/></small>
               </h4>
               <p th:text="${list.getListValue(rowStat.index, list.properties.get(5).id)}"></p>
             </a>
           </li>
           <!-- end message -->
           </th:block>
         </ul>
       </li>
       <li class="footer"><a th:href="@{/(menu=${list.app.data.get('menu')})}">查看所有</a></li>
     </ul>
</th:block>
</th:block>